Typo fixes Typo fix. (#66746)
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 12 Dec 2001 22:29:53 +0000 (22:29 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 12 Dec 2001 22:29:53 +0000 (22:29 +0000)
        * gtk/gtktextlayout.c: Typo fixes
        * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)

        * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
        gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)

        * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)

        * gtk/tmpl/gtklist.sgml: Markup fixes.

        * gdk/tmpl/selections.sgml, gtk/tmpl/gtksocket.sgml: s/succesful/successful/g.

        * gtk/gtk-sections.txt, gtk/tmpl/gtkstyle.sgml: Remove
        GTK_STYLE_NUM_STYLECOLORS. (#66467)

17 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/ChangeLog
docs/reference/gdk/tmpl/selections.sgml
docs/reference/gtk/gtk-sections.txt
docs/reference/gtk/tmpl/gtklist.sgml
docs/reference/gtk/tmpl/gtksocket.sgml
docs/reference/gtk/tmpl/gtkstyle.sgml
gtk/gtkstyle.h
gtk/gtktextlayout.c
gtk/gtkwidget.c
gtk/gtkwindow.c

index 1b4cb5256a29452ffbcbac9c67639d8e0571b570..dd2da1e6029fef0d975edf9bc3c3874a7fa3469e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2001-12-12  Matthias Clasen  <matthiasc@poet.de>
+       
+       * gtk/gtktextlayout.c: Typo fixes
+       * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+       * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel, 
+       gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+       * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
 Wed Dec 12 16:43:10 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
index 1b4cb5256a29452ffbcbac9c67639d8e0571b570..dd2da1e6029fef0d975edf9bc3c3874a7fa3469e 100644 (file)
@@ -1,3 +1,13 @@
+2001-12-12  Matthias Clasen  <matthiasc@poet.de>
+       
+       * gtk/gtktextlayout.c: Typo fixes
+       * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+       * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel, 
+       gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+       * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
 Wed Dec 12 16:43:10 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
index 1b4cb5256a29452ffbcbac9c67639d8e0571b570..dd2da1e6029fef0d975edf9bc3c3874a7fa3469e 100644 (file)
@@ -1,3 +1,13 @@
+2001-12-12  Matthias Clasen  <matthiasc@poet.de>
+       
+       * gtk/gtktextlayout.c: Typo fixes
+       * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+       * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel, 
+       gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+       * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
 Wed Dec 12 16:43:10 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
index 1b4cb5256a29452ffbcbac9c67639d8e0571b570..dd2da1e6029fef0d975edf9bc3c3874a7fa3469e 100644 (file)
@@ -1,3 +1,13 @@
+2001-12-12  Matthias Clasen  <matthiasc@poet.de>
+       
+       * gtk/gtktextlayout.c: Typo fixes
+       * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+       * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel, 
+       gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+       * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
 Wed Dec 12 16:43:10 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
index 1b4cb5256a29452ffbcbac9c67639d8e0571b570..dd2da1e6029fef0d975edf9bc3c3874a7fa3469e 100644 (file)
@@ -1,3 +1,13 @@
+2001-12-12  Matthias Clasen  <matthiasc@poet.de>
+       
+       * gtk/gtktextlayout.c: Typo fixes
+       * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+       * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel, 
+       gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+       * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
 Wed Dec 12 16:43:10 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
index 1b4cb5256a29452ffbcbac9c67639d8e0571b570..dd2da1e6029fef0d975edf9bc3c3874a7fa3469e 100644 (file)
@@ -1,3 +1,13 @@
+2001-12-12  Matthias Clasen  <matthiasc@poet.de>
+       
+       * gtk/gtktextlayout.c: Typo fixes
+       * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+       * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel, 
+       gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+       * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
 Wed Dec 12 16:43:10 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
index 1b4cb5256a29452ffbcbac9c67639d8e0571b570..dd2da1e6029fef0d975edf9bc3c3874a7fa3469e 100644 (file)
@@ -1,3 +1,13 @@
+2001-12-12  Matthias Clasen  <matthiasc@poet.de>
+       
+       * gtk/gtktextlayout.c: Typo fixes
+       * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+       * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel, 
+       gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+       * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
 Wed Dec 12 16:43:10 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
index 40434b6bd83a16e57e3733314c10150135075a53..9b916d1891224f756a9a5f7961feeb044f6fa150 100644 (file)
@@ -1,3 +1,12 @@
+2001-12-12  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/tmpl/gtklist.sgml: Markup fixes.
+
+       * gdk/tmpl/selections.sgml, gtk/tmpl/gtksocket.sgml: s/succesful/successful/g.
+
+       * gtk/gtk-sections.txt, gtk/tmpl/gtkstyle.sgml: Remove
+       GTK_STYLE_NUM_STYLECOLORS. (#66467)
+
 2001-12-12  Havoc Pennington  <hp@pobox.com>
 
        * gtk/text_widget.sgml: add another example
index efc8ca1f9d8df964661d1628c669edc1c037290b..619a9f8f49ceed6e0c40f2a03c8d4917b5452be7 100644 (file)
@@ -92,7 +92,7 @@ Set the owner of the given selection.
 @send_event: if %TRUE, and the new owner is different
              from the current owner, the current owner
              will be sent a SelectionClear event.
-@Returns: %TRUE if the selection owner was succesfully
+@Returns: %TRUE if the selection owner was successfully
           changed to @owner, otherwise %FALSE.
 
 
index 203fcb7e95b27a1cfd7ffcacf347fbc9f22e9092..e00f7952ae9fdeff12f0599b0044551b511ff492 100644 (file)
@@ -3825,7 +3825,6 @@ gtk_gc_release
 <SECTION>
 <FILE>gtkstyle</FILE>
 <TITLE>GtkStyle</TITLE>
-GTK_STYLE_NUM_STYLECOLORS
 GTK_STYLE_ATTACHED
 GtkStyle
 GtkStyleClass
index 4eaf3e46843b5cf3a4d9bebc5195019b86549568..66558833157f28af0fe06cad142abbf68c79feb7 100644 (file)
@@ -6,7 +6,7 @@ Widget for packing a list of selectable items.
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-The GtkList widget is a container whose children are displayed
+The #GtkList widget is a container whose children are displayed
 vertically in order, and can be selected.
 
 The list has many selection modes, which are programmer selective and
@@ -40,12 +40,12 @@ type.</para></listitem>
 Creates a new #GtkList.
 </para>
 
-@Returns: the newly created #GtkList
+@Returns: the newly-created #GtkList
 
 
 <!-- ##### FUNCTION gtk_list_insert_items ##### -->
 <para>
-Inserts @items into the @list at the position @position. The @GList items
+Inserts @items into the @list at the position @position. The #GList items
 must not be freed after.
 </para>
 
@@ -208,7 +208,7 @@ in #GTK_SELECTION_EXTENDED.
 @list: the list widget.
 @scroll_type: the direction and length.
 @position: the position if @scroll_type is #GTK_SCROLL_JUMP.
-@auto_start_selection: if #TRUE, gtk_list_start_selection is automatically
+@auto_start_selection: if %TRUE, gtk_list_start_selection() is automatically
 carried out before extending the selection.
 
 
@@ -223,11 +223,11 @@ Starts a selection (or part of selection) at the focused child. Only in
 
 <!-- ##### FUNCTION gtk_list_end_selection ##### -->
 <para>
-Ends the selection. Used with #gtk_list_extend_selection and
-#gtk_list_start_selection. Only in #GTK_SELECTION_EXTENDED.
+Ends the selection. Used with gtk_list_extend_selection() and
+gtk_list_start_selection(). Only in #GTK_SELECTION_EXTENDED mode.
 </para>
 
-@list: 
+@list: the list widget.
 
 
 <!-- ##### FUNCTION gtk_list_select_all ##### -->
@@ -285,7 +285,7 @@ scrolls to the ratio @position: 0 is top, 1 is bottom.
 <!-- ##### FUNCTION gtk_list_toggle_add_mode ##### -->
 <para>
 Toggles between adding to the selection and beginning a new selection. Only
-in #GTK_SELECTION_EXTENDED. Useful with #gtk_list_extend_selection.
+in #GTK_SELECTION_EXTENDED. Useful with gtk_list_extend_selection().
 </para>
 
 @list: the list widget.
index 608ae3a16ee98d056eefb8fd5da94dcdf7288a69..48b03c9ff1182ce7f1b6a4bfbacc546db98a1ac4 100644 (file)
@@ -53,7 +53,7 @@ separate toplevel window. You can check if the plug
 has been created by examining the
 <StructField>plug_window</StructField> field of the
 #GtkSocket structure. If this field is non-NULL, 
-then the plug has been succesfully created inside
+then the plug has been successfully created inside
 of the socket.
 </para>
 
index 957faa9ef32abff92ca3ea8b5ee26a2abc492089..220aa575871b8b9a66d6449a2de3e94368d08a6d 100644 (file)
@@ -14,12 +14,6 @@ Styles
 
 </para>
 
-<!-- ##### MACRO GTK_STYLE_NUM_STYLECOLORS ##### -->
-<para>
-The number of colors used in a style.
-</para>
-
-
 
 <!-- ##### MACRO GTK_STYLE_ATTACHED ##### -->
 <para>
index 4304de01c24c257f3119a9b3e143c546f5ad0fb9..5ac6eb1261b015941e702879c22924a711d39fd6 100644 (file)
@@ -63,11 +63,6 @@ typedef gboolean (*GtkRcPropertyParser) (const GParamSpec *pspec,
  */
 typedef struct _GtkWidget      GtkWidget;
 
-/* This is used for having dynamic style changing stuff
- * fg, bg, light, dark, mid, text, base
- */
-#define GTK_STYLE_NUM_STYLECOLORS()    (7 * 5)
-
 #define GTK_STYLE_ATTACHED(style)      (GTK_STYLE (style)->attach_count > 0)
 
 struct _GtkStyle
index a0e7575f69d93edc4f07ef7d4823efe7b6ac82c4..4a85903a6b09c8ebaf8c65fe77e68830a8473f91 100644 (file)
@@ -751,7 +751,7 @@ gtk_text_layout_real_free_line_data (GtkTextLayout     *layout,
  *
  * Check if there are any invalid regions in a #GtkTextLayout's buffer
  *
- * Return value: #TRUE if any invalid regions were found
+ * Return value: %TRUE if any invalid regions were found
  **/
 gboolean
 gtk_text_layout_is_valid (GtkTextLayout *layout)
index f2467f585b4cd2ab601390dab40edd012e425af6..79483a76bae0b05cb1100d810fa471802c428a37 100644 (file)
@@ -2937,7 +2937,7 @@ gtk_widget_event (GtkWidget *widget,
  * If you want to force an area of a window to be redrawn, 
  * use gdk_window_invalidate_rect() or gdk_window_invalidate_region().
  * To cause the redraw to be done immediately, follow that call
- * with a call to gdk_window_procss_updates().
+ * with a call to gdk_window_process_updates().
  * 
  * Return value: return from the event signal emission (%TRUE if the event was handled)
  **/
@@ -4965,21 +4965,20 @@ gtk_widget_set_extension_events (GtkWidget *widget,
  * window was inside a #GtkWindow-derived widget which was in turn
  * inside the toplevel #GtkWindow. While the second case may
  * seem unlikely, it actually happens when a #GtkPlug is embedded
- * inside a #GtkSocket within the same application
+ * inside a #GtkSocket within the same application.
  * 
  * To reliably find the toplevel #GtkWindow, use
  * gtk_widget_get_toplevel() and check if the %TOPLEVEL flags
  * is set on the result.
- * 
- *  <programlisting>
+ *  <informalexample><programlisting>
  *  GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
  *  if (GTK_WIDGET_TOPLEVEL (toplevel))
  *   {
  *     [ Perform action on toplevel. ]
  *   }
- *  </programlisting>
+ *  </programlisting></informalexample>
  *
- * Return value: the topmost ancestor of @widget, or @widget itself if there's no ancestor
+ * Return value: the topmost ancestor of @widget, or @widget itself if there's no ancestor.
  **/
 GtkWidget*
 gtk_widget_get_toplevel (GtkWidget *widget)
@@ -5421,7 +5420,7 @@ gtk_widget_emit_direction_changed (GtkWidget        *widget,
  * reading directions can be done. Generally, applications will
  * let the default reading direction present, except for containers
  * where the containers are arranged in an order that is explicitely
- * visual rather than logical (such as buttons for text justificiation).
+ * visual rather than logical (such as buttons for text justification).
  *
  * If the direction is set to %GTK_TEXT_DIR_NONE, then the value
  * set by gtk_widget_set_default_direction() will be used.
@@ -5529,7 +5528,7 @@ gtk_widget_set_default_direction (GtkTextDirection dir)
  * gtk_widget_get_default_direction:
  * 
  * Obtains the current default reading direction. See
- * gtk_widget_set_direction().
+ * gtk_widget_set_default_direction().
  *
  * Return value: the current default direction. 
  **/
index b1d48ce06a821bac9d22aabe55a5847d7f09d966..6c165a946a428a77eb9779c0326ebfa9d806a8a2 100644 (file)
@@ -1265,8 +1265,8 @@ gtk_window_get_mnemonic_modifier (GtkWindow *window)
  * @window: a #GtkWindow.
  * @position: a position constraint.
  *
- * Sets a position constaint for this window. If the old or new
- * constaint is %GTK_WIN_POS_CENTER_ALWAYS, this will also cause
+ * Sets a position constraint for this window. If the old or new
+ * constraint is %GTK_WIN_POS_CENTER_ALWAYS, this will also cause
  * the window to be repositioned to satisfy the new constraint. 
  **/
 void